From e2c87f9dcd0944cf2c2c5b877e82d0fbe809f6de Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Sat, 11 Jan 2014 21:59:45 -0500 Subject: [PATCH] demo: Add two buttons to the message dialog This tests the new. prompt-like layout of message dialogs better. https://bugzilla.gnome.org/show_bug.cgi?id=720059 --- demos/gtk-demo/dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/gtk-demo/dialog.c b/demos/gtk-demo/dialog.c index 17f837e8f8..209fd6da3d 100644 --- a/demos/gtk-demo/dialog.c +++ b/demos/gtk-demo/dialog.c @@ -20,7 +20,7 @@ message_dialog_clicked (GtkButton *button, dialog = gtk_message_dialog_new (GTK_WINDOW (window), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_INFO, - GTK_BUTTONS_OK, + GTK_BUTTONS_OK_CANCEL, "This message box has been popped up the following\n" "number of times:"); gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), -- 2.30.2